package com.ax.business.doctor.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.ax.business.doctor.domain.BaseDoctor;

@Mapper
public interface BaseDoctorMapper {
    int deleteByPrimaryKey(Long doctorId);

    int insert(BaseDoctor record);

    int insertSelective(BaseDoctor record);

    /**
	 * 查看医生详情
	 * 
	 * @param Map<String,Object> map
	 *           
	 * @return List<BaseDoctor>
	 */
    List<BaseDoctor> selectByPrimaryKey(Map<String,Object> params);
    
    /**
	 * 分页总计
	 * 
	 * @param Map<String,Object> map
	 *           
	 * @return Integer
	 */
    Integer count(Map<String,Object> params);

    int updateByPrimaryKeySelective(BaseDoctor record);

    int updateByPrimaryKey(BaseDoctor record);
}